package ddd1;

public class work6 {
    public static void main(String[] args) {
        String str = "java!!!wo ai java,i like java ,i love java!!!";
        System.out.println(removeJava(str));
    }
        public static String removeJava(String input) {
            return input.replaceAll("(?i)\\s*java\\s*", "");
        }
}
